package com.nl.controller.web.mapper;

import com.nl.controller.web.bean.SmsRule;

import java.util.List;
import java.util.Map;

public interface SmsRuleMapper {
    List<SmsRule> findRule(Map<String, Object> map);
    int removeRole(String roleId);
    int removeFunctionIds(String roleId);
    int removeUserRole(String roleId);
    String selectMaxId();
    int addRole(SmsRule smsRule);
    int addFunction(Map<String, Object> map);
    SmsRule findRoleByRoleId(String roleId);
    List<SmsRule> findFunctionByRoleId(String roleId);
    int modifyRole(SmsRule rule);
}
